package phoenix.web.locators.wildbuddies;

import org.openqa.selenium.By;

import phoenix.web.locators.base.MyAccountLocatorsBase;

public class MyAccountLocators extends MyAccountLocatorsBase
{
	/**
	 * Overrides specific locators
	 */
	public MyAccountLocators()
	{
		// Block New activity notifications
		checkboxNewMessages = By.xpath("(//input[@type='checkbox'])[66]");
		checkboxNewWink = By.xpath("(//input[@type='checkbox'])[67]");
		checkoutNewViews = By.xpath("(//input[@type='checkbox'])[68]");

		// Upgrade button
		btnUpgradeMembersip = By.xpath("//*[@class='b-settings-row member-status']//*[@class='btn green']");
		btnUpgradePackage = By.xpath("//*[@class='b-settings-row member-status']//a[contains(@href,'/pay/membership')]");
		btnUpgradeFeatures = By.xpath("//*[@class='b-settings-row member-status']//a[contains(@href,'/pay/features')]");
		btnMembership = By.xpath(".//*[@id='layoutContent']//a[contains(@class,'btn')]");

		buttonEditPassword = By.xpath("(.//*[@id='layoutContent']//input[@class='password-old'])[1]");
		inputOldPass = By.xpath("(.//*[@id='layoutContent']//input[@class='password-old'])[2]");
		inputNewPass = By.xpath("(.//*[@id='layoutContent']//input[@class='password-new'])[1]");
		buttonSavePassword = By.xpath("(.//*[@id='layoutContent']//*[@class='btn green'])[2]");
		blockSuccessMessage = By.xpath(".//*[@id='layoutContent']//*[@class='b-success active']");
		blockUnSuccessMessage = By.xpath(".//*[@id='layoutContent']//*[@class='b-error active']");

		buttonEditEmail = By.xpath("(.//*[@id='layoutContent']//input[@class='password'])[1]");
		inputPassword = By.xpath("(.//*[@id='layoutContent']//input[@class='password'])[2]");
		inputEmail = By.xpath(".//*[@id='layoutContent']//input[@class='email']");
		buttonSaveEmail = By.xpath("(.//*[@id='layoutContent']//*[@class='btn green'])[3]");

		blockContactUs = By.cssSelector(".b-page-contact-us");
		inputEmailPasswordForm = By.xpath("(.//*[@id='layoutContent']//input[@class='password'])[2]");
		inputNewEmailForm = By.xpath(".//*[@id='layoutContent']//input[@class='email']");
		blockUID = By.xpath("//span[@class='b-id-number']");

		btnBillingHistory = By.xpath("//a[@href='/#billingHistory']");
		btnRemoveAccount = By.xpath("//button[@data-remove-account='data-remove-account']");

	}
}
